
import httpurl from './httpurl.js'
import requestClient from './request.js'

export default{
    getCompanyList:function(client,keywords,sucCallback){
        var data = { keywords : null};
        if(!!keywords){
            data = { keywords : keywords};
        }
        requestClient.request(client,httpurl.companyList,"GET",data,sucCallback,null,null)
    },
    authCompany:function(client,companyId,sucCallback){
        var data = { companyId : companyId};
        requestClient.request(client,httpurl.companyAuth,"GET",data,sucCallback,null,null)
    },
}